//
//    Copyright (C) 2012  OinkStudio
//
//    This program is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with this program.  If not, see <http://www.gnu.org/licenses/>.

package Exel;

import java.util.ArrayList;

public class CompareExcel {
	
	public static void comanda(ArrayList<ArrayList<Object>> ob1, ArrayList<ArrayList<Object>> ob2){
		
	}
	public static void venta(ArrayList<ArrayList<Object>> ob1, ArrayList<ArrayList<Object>> ob2){
		
	}
	public static void actualitzacio(ArrayList<ArrayList<Object>> ob1, ArrayList<ArrayList<Object>> ob2){
		
	}
	
	/**Aqui se li han de pasar els valors de la taulaBBDD, de la taulaExel i El nom de l'accio:
	 * comanda, acutalitzacio o venta
	 * **/
	public static void accio(ArrayList<ArrayList<Object>> ob1, ArrayList<ArrayList<Object>> ob2,String accio){
		if (accio.equals("comanda")){
			comanda(ob1,ob2);
		}else if(accio.equals("actualitzacio")){
			actualitzacio(ob1,ob2);
		}else if(accio.equals("venta")){
			venta(ob1,ob2);
		}
	}
}
